package com.atguigu.bytebit;

public class ByteBit {
    public static void main(String[] args) {
        String str = "a";
        byte[] bytes = str.getBytes();
        for (byte b : bytes) {
            int l =  b;
            String string = Integer.toBinaryString(l);
            System.out.println(string);

        }
    }
}
